package com.tannuo.dolphinnotedemo.sdk.device.protocol;

/**
 * Created by nick on 2016/4/23.
 */
public interface IProtocol {

    IMessage decode(byte[] data);

    byte[] encode(IMessage message);

}
